package com.Jano.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * description: PermissionModel <br>
 * date: 2022/7/10 11:10 PM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PermissionModel {
    private Integer id;
    /**功能编码*/
    private String funcCode;
    /**功能名称*/
    private String funcName;
    /**功能URL*/
    private String funcUrl;
    private Integer parentId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private String createBy;
    /**默认是false*/
    private boolean flag;
}
